﻿using System;
using System.Collections;
using System.Configuration;
using System.Data;
using System.Linq;
using System.Web;
using System.Web.Security;
using System.Web.UI;
using System.Web.UI.HtmlControls;
using System.Web.UI.WebControls;
using System.Web.UI.WebControls.WebParts;
using System.Xml.Linq;

using Soussous.Business;
using Soussous.DAO;
using Soussous.DAO.Connection;
using Soussous.DAO.Impl; 

namespace Soussous.Template
{
    public partial class testing : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
            var list = OperationDAO.getInstance().getAllOperation();
            string text = "";
            foreach (Operation u in list) {
                text += "<p>Note = " + u.Notes_id+ "</p>";
                text += "<p>De = " + u.User_from + "</p>";
                text += "<p>Vers = " + u.User_to + "</p>";

             
            }
            test.InnerHtml = text.ToString();
        }
    }
}
